package com.zhl.thisdemo;

public class Student {
    double score;


    public void PrintThis(){
        System.out.println(this);
    }

    public void printPass(double score){
        if(this.score > score){
            System.out.println("恭喜你成功通过考试！");
        }else{
            System.out.println("很遗憾，你没有通过考试！");
        }
    }

}
